package com.joysuch.wwyt.bp.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@ApiModel(value = "危害辨识")
public class BpWorkSafetyIdentifyBean implements Serializable {

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "作业证id")
    @NotNull(message = "作业证id不能为空")
    private Long certId;

    @ApiModelProperty(value = "作业证类型")
    @NotNull(message = "作业证类型不能为空")
    private String type;

    @ApiModelProperty(value = "危害辨识内容")
    private String content;

    @ApiModelProperty(value = "签名")
    private BpWorkSafetySigenerBean sigenerBean;
}
